package com.project.bean;

/**
 * 频道
 */
public class TypeBean {
    private  int id; //名字
    private  String name;
    private  String describe;//描述
    private  int postNum; //帖子数量


    @Override
    public String toString() {
        return "TypeBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", describe='" + describe + '\'' +
                ", postNum=" + postNum +
                "}\n";
    }

    public TypeBean(int id, String name, String describe, int postNum) {
        this.id = id;
        this.name = name;
        this.describe = describe;
        this.postNum = postNum;
    }

    public TypeBean() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public int getPostNum() {
        return postNum;
    }

    public void setPostNum(int postNum) {
        this.postNum = postNum;
    }
}
